sdmdltypetexturereference module

class sd.api.mdl.sdmdltypetexturereference.SDMDLTypeTextureReference(APIContext, handle, *args, **kwargs)

Bases: sd.api.mdl.sdmdltyperesourcereference.SDMDLTypeResourceReference

Class used to store information about a MDL Texture Reference type

getClassName() → str

Returns the most specific name of the class this APIObject is

getId() → str

Get the type identifier string

getModifier() → sd.api.sdtype.SDTypeModifier

Get the type modifier (see SDTypeModifier enum)

getTextureShape() → sd.api.mdl.sdmdltypetexturereference.TextureShape

Get the texture shape

release() → None

Releases an APIObject

class sd.api.mdl.sdmdltypetexturereference.TextureShape

Bases: enum.Enum

Enum representing the possible texture shapes

Cube = 3

Ptex texture

Ptex = 4
ThreeDim = 2

Cube map texture

TwoDim = 1

Three-dimensional texture

Undefined = 0

Two-dimensional texture